<?php

function wpbootstrap_scripts_with_jquery()
{
	// Register the script like this for a theme:
	wp_register_script( 'custom-script', get_template_directory_uri() . '/assets/js/bootstrap.min.js', array( 'jquery' ) );
	// For either a plugin or a theme, you can then enqueue the script:
	wp_enqueue_script( 'custom-script' );
	
	// load js
	wp_enqueue_script('custom', get_template_directory_uri() . '/custom.js?v='.time(),'','',false);  				//Theme custom js
	wp_enqueue_script('jquery.jcarousel', get_template_directory_uri() . '/assets/js/jquery.jcarousel.min.js','','',false);
	wp_enqueue_script('jcarousel.basic', get_template_directory_uri() . '/assets/js/jcarousel.basic.js','','',false);

	wp_enqueue_script('isotope.pkgd', get_template_directory_uri() . '/assets/js/isotope.pkgd.min.js','','',false);
	wp_enqueue_script('isotope.packery', get_template_directory_uri() . '/assets/js/packery-mode.pkgd.js', '', '', false);	
	
	// load css
	wp_enqueue_style('enqueue-bootstrap', get_template_directory_uri() . '/assets/css/bootstrap.css', array(), false);  				//Theme flexslider		
	wp_enqueue_style('font-awesome', get_template_directory_uri() . '/assets/css/font-awesome.css', array(), false);
	wp_enqueue_style('jcarousel.basic', get_template_directory_uri() . '/assets/css/jcarousel.basic.css', array(), false);
  				//Theme font-awesome
	wp_enqueue_style('enqueue-style', get_template_directory_uri() . '/style.css?v='.time(), array(), false);  				//Theme style

}
add_action( 'wp_enqueue_scripts', 'wpbootstrap_scripts_with_jquery' );